@import '~iview/src/styles/index.less';

// Here are the variables to cover, such as:
@primary-color: #8c0776;

@border-radius-base     : 10px;
@border-radius-small    : 5px;

::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}
::-webkit-scrollbar-thumb {
  border-radius: 2px;
  background: #6b7385;
  -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,.2);
}
.demo-spin-icon-load{
  animation: rotate 1s linear infinite;
}
@keyframes rotate {
  from { transform: rotate(0deg);}
  50%  { transform: rotate(180deg);}
  to   { transform: rotate(360deg);}
}
.circular {
  animation: rotate 2s linear infinite;
  height: 100%;
  transform-origin: center center;
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.loader {
  width: 30px;
  height: 30px;
  position: relative;
  margin: 0 auto;
}
.path {
  stroke-dasharray: 1,200;
  stroke-dashoffset: 0;
  animation: dash 1.5s ease-in-out infinite,color 6s ease-in-out infinite;
  stroke-linecap: round;
}
@keyframes dash{
  0% {stroke-dasharray:1,200;stroke-dashoffset:0}
  50% {stroke-dasharray:89,200;stroke-dashoffset:-35}
  to {stroke-dasharray:89,200;stroke-dashoffset:-124}
}
@keyframes color{
  0%, to{stroke:#d62d20}
  40% {stroke:#0057e7}
  66% {stroke:#008744}
  80%,90% {stroke:#ffa700}
}
